package io.gitee.hchaojie.day06;

import org.junit.Test;

public class TestTree {
    @Test
    public void test() {
        TreeNode root = new TreeNode(30);

        root.left = new TreeNode(28);
        root.right = new TreeNode(33);


    }

    static class TreeNode<T> {
        TreeNode left;
        TreeNode right;

        T data;

        public TreeNode(T data) {
            this.data = data;
        }
    }
}
